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,CAAGb,UAAU,wBAAe,yBAC5BtD,EAAmBc,GAAG,CAAC,GACtB,GAAAY,EAAAI,GAAA,EAACsC,EAAAA,GAAaA,CAAAA,CACZC,aAAc,CAAC,aAAa,CAC5B9B,UAAW/C,EAEXyB,KAAMF,EAAIpB,WAAW,CACrBkE,KAAM,uBAAuC3C,MAAA,CAAhBH,EAAIpB,WAAW,CAAC,QAC7C2E,OAAQvD,EAAIK,MAAM,CAAC,EAAE,CAACC,GAAG,CAAGN,EAAIK,MAAM,CAAC,EAAE,CAACC,GAAG,CAAG,GAChDsB,MAAO,CACLC,OAAQ,aACRC,KAAM,WACNC,mBAAoB,iBACtB,GARK/B,EAAIpB,WAAW,QAchC","sources":["webpack://_N_E/?66a7","webpack://_N_E/./pages/support/free-crema/[companyname].tsx","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/support/free-crema/[companyname]\",\n function () {\n return require(\"private-next-pages/support/free-crema/[companyname].tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/support/free-crema/[companyname]\"])\n });\n }\n ","import {\n BTypeMainHead,\n BTypeCardView,\n FUNERAL_SIDO,\n DTypeBreadCrumb,\n FUNERAL_SIGUNGU,\n BTypeBeneficiaryCTA,\n colors,\n CTypeMap,\n FullWidthButton,\n} from \"goi_common\";\nimport { GetStaticPaths, GetStaticProps } from \"next\";\n\nimport React from \"react\";\nimport { ParlorDetailProps } from \"goi_common\";\nimport { parlorRegion } from \"@/constants/parlorRegion\";\nimport { Box, Stack } from \"@mui/material\";\nimport Head from \"next/head\";\n\nimport crematoriums from \"goi_common/src/constants/hwajang_detail.json\";\n\nconst { regionColor, targetSidos } = parlorRegion;\n\nexport const getStaticPaths: GetStaticPaths = async () => {\n const paths = crematoriums\n .filter((p) => targetSidos.includes(String(p.sido)))\n .map((crema) => ({\n params: {\n companyname: crema.companyname + \" 소개\",\n },\n }));\n\n return {\n paths,\n fallback: false,\n };\n};\n\nexport const getStaticProps: GetStaticProps = async ({ params }) => {\n const code = params?.companyname as string;\n const companyname = code.replace(\" 소개\", \"\");\n let crematorium;\n let district;\n let name = \"\";\n let description = \"\";\n\n if (companyname) {\n crematorium = crematoriums.find(\n (crema) => crema.companyname === companyname\n );\n if (crematorium) {\n name = crematorium.companyname;\n\n district = crematorium.address.slice(0, 2);\n if (crematorium.address.split(\" \")[0].length == 4)\n district = crematorium.address[0] + crematorium.address[2];\n\n description = `${crematorium.companyname} ${crematorium.address} 기초생활수급자 화장 비용 안내`;\n }\n }\n\n return {\n props: {\n defaultCrema: crematorium,\n pageDescription: description,\n pageKeywords: `${crematorium?.companyname}, ${crematorium?.companyname} 기초생활수급자, ${district} 기초생활수급자 장례, 장제비, 장제급여, 기초생활수급자 장례 얼마,`,\n pageOgTitle: `${crematorium?.companyname} 기초생활수급자 혜택 화장장 소개 및 비용 안내 :: 부산울산경남장례정보포털`,\n pageOgDescription: description,\n pageOgImage: crematorium?.images[0].url || \"\",\n hasError: !crematorium,\n },\n };\n};\n\nexport default function companyname({\n defaultCrema,\n pageOgTitle,\n}: {\n defaultCrema: ParlorDetailProps;\n pageOgTitle: string;\n}) {\n const regionCrematoriums = crematoriums.filter((p) =>\n targetSidos.includes(String(p.sido))\n );\n const sidoName = FUNERAL_SIDO.get(Number(defaultCrema.sido));\n const sigunguName = FUNERAL_SIGUNGU.get(Number(defaultCrema.sido))?.get(\n Number(defaultCrema.sigungu)\n );\n const carouselItems = regionCrematoriums.map((res, i) => {\n return {\n \"@type\": \"ListItem\",\n name: `(비용안내) ${res.companyname}`,\n image: `${res.images[0].url}`,\n url: `https://www.gyeongsang-portal.co.kr/support/free-crema/${res.companyname} 소개/`,\n position: i + 1,\n };\n });\n\n const carouselRichSearch =\n regionCrematoriums.length > 6\n ? {\n \"@context\": \"http://schema.org\",\n \"@type\": \"ItemList\",\n itemListElement: carouselItems,\n }\n : {};\n return (\n \n \n {pageOgTitle}\n {regionCrematoriums.length > 5 && (\n \n )}\n \n\n \n \n \n 필요 서류\n \n 기초생활수급자는 화장 비용이 전액 감면됩니다.\n \n \n \n 화장 비용을 전액 감면 받기 위해 기초생활수급자 자격을 증명하는\n 서류가 필요합니다.\n \n \n 필요 서류 : 국민기초생활보장수급자 증명서\n \n \n 수급자 증명서는 전국 시군구 또는 읍면동 주민센터에서 발급\n 가능하며, 무인민원발급기(본인에 한함)와 정부24 웹사이트에서 또한\n 발급 가능합니다.\n \n \n 기초생활수급자분들은 상기한 4가지 혜택을 받을 수 있습니다.{\" \"}\n \n 이해하기 어려운 부분이나 추가 정보가 필요하시다면, 언제든지\n 상담을 신청해 주세요.\n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n\n \n \n \n\n \n

부산 경남 울산 기초생활수급자 화장장

\n {regionCrematoriums.map((res) => (\n \n ))}\n \n \n );\n}\n"],"names":["window","__NEXT_P","push","__webpack_require__","regionColor","targetSidos","parlorRegion","companyname","param","FUNERAL_SIGUNGU","defaultCrema","pageOgTitle","regionCrematoriums","crematoriums","filter","includes","String","p","sido","sidoName","FUNERAL_SIDO","get","Number","sigunguName","sigungu","carouselItems","map","res","i","name","concat","image","images","url","position","carouselRichSearch","length","itemListElement","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","Stack","Head","jsx","title","script","type","dangerouslySetInnerHTML","__html","JSON","stringify","BTypeMainHead","mainColor","defaultParlor","managed_type","isHwajang","event","domain","path","trigger_and_target","margin","padding","style","background","boxShadow","gap","Box","className","colors","gray50","component","b","FullWidthButton","text","href","backgroundColor","c300","BTypeBeneficiaryCTA","CTypeMap","address","h3","BTypeCardView","descriptions","imgSrc"],"sourceRoot":""}